]> dgit.raspbian.org Git - gnome-shell.git/commit
st/entry: Fix leak when copying or cutting text using shortcuts
authorSebastian Keller <skeller@gnome.org>
Sun, 7 Jun 2020 22:42:00 +0000 (00:42 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 8 Jun 2020 15:21:17 +0000 (15:21 +0000)
commitfdfcacf1db70df6dfe214838c65f5f6e329d27ee
tree3c7f2ba2a7f8367465445254904f99d901ea0f39
parentd3efbcce9b4de6254c79d40e6e1c6b322e1c9431
st/entry: Fix leak when copying or cutting text using shortcuts

clutter_text_get_selection() creates a copy of the selected text which
gets passed to st_clipboard_set_text() which creates its own copy. The
copy returned by clutter_text_get_selection() however never got free'd.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1306
src/st/st-entry.c